package com.vincce.sport.mapper;

import java.util.List;
import java.util.Map;

import com.vincce.sport.core.MyBatisRepository;
import com.vincce.sport.entity.ActivityQuestion;
import com.vincce.sport.entity.Page;

@MyBatisRepository
public interface ActivityQuestionMapper {
	public List<ActivityQuestion> queryActivityQuestionByPage(Page<ActivityQuestion> page);
	
	public Long queryActivityQuestionCount(Map<String, Object> map);
	
	public Long insertActivityQuestion(ActivityQuestion activityQuestion);
	
	public Long updateActivityQuestion(ActivityQuestion activityQuestion);
	
	public Integer deleteById(Integer id);
	
	public List<ActivityQuestion> findActivityQuestionAll();
	
	public List<ActivityQuestion> findActivityQuestionByOne(ActivityQuestion activityQuestion);
	
	public ActivityQuestion findActivityQuestionById(Integer id);

}
